package com.pl.bean;

import java.security.Principal;
import java.util.List;

public class OauthUserInfo {
	
	//用户id
	private Long userId;
	
	//用户名
	private String userName;
	
	//真实姓名
	private String realName;
	
	private Principal user;
	
	//用户可以访问的页面
	private List<ManagePageBean> pageList;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public List<ManagePageBean> getPageList() {
		return pageList;
	}

	public void setPageList(List<ManagePageBean> pageList) {
		this.pageList = pageList;
	}

	public Principal getUser() {
		return user;
	}

	public void setUser(Principal user) {
		this.user = user;
	}

}
